﻿<%@ Page Title="" Language="C#" MasterPageFile="~/HomePage.master" AutoEventWireup="true"
    CodeFile="Lien-He-Van-Chuyen.aspx.cs" Inherits="Lien_He_Van_Chuyen" %>

<%@ Register TagPrefix="cc2" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit, Version=3.0.30930.28736, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" %>
<%@ Register TagPrefix="cc1" Namespace="MSCaptcha" Assembly="MSCaptcha" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>Liên Hệ Vận Chuyển - <%= Common.title %></title>
    <style>
        div #wrapperLHVC
        {
            border: 1px solid red;
            border-radius: 0px 0px 5px 5px;
            font-family: Tahoma, Arial;
            font-size: 12px;
        }
        
        div#wrapperLHVC div#leftLHVC
        {
            float: left;
        }
        div#wrapperLHVC .ImageStyleLHVC
        {
            margin: 0px;
            float: right;
            width: 49%;
            height: 610px;
            border: 1px solid red;
        }
        
        .TextboxStyleLHVC
        {
            margin-bottom: 5px;
        }
        .ImageMaXeStyleLHVC
        {
            width: 97%;
            height: 148px;
        }
        .lblStyleLHVC
        {
            margin-left: 15px;
        }
        .TextboxNoiDungLHVC
        {
            margin-right: 7px;
            margin-top: -11px;
            float:right;
        }
        
        .btnDangKyStyle
        {
            clear: both;
            float: right;
            font-size: 12px;
            border-radius: 8px;
            font-weight: bold;
            background: red url(Images/dltn/bgheader.png) repeat;
            color: white;
            cursor: pointer;
            text-align: center;
            margin: 5px 10px 5px 0px;
            height: 25px;
            width: 60px;
        }
        
        #HeaderTopLHVC
        {
            color: white;
            font-weight: bold;
            background: transparent url(Images/dltn/dstour.png) no-repeat;
            height: 25px;
            margin-bottom: 2px;
        }
        
        div #HeaderTopLHVC p
        {
            padding: 5px 0px 0px 5px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<div id="border">
    <div id="Content">
       
        <div id="HeaderTopLHVC">
            <p>
                ĐẶT XE
            </p>
        </div>
  <asp:UpdatePanel ID="UpdatePanel1" runat="server">
      <ContentTemplate>
        <div id="wrapperLHVC">
           
            <div id="leftLHVC" style="width: 50%">
                <div style="width: 100%; margin-bottom: 20px; border-radius: 3px;">
                    <div>
                        <asp:Image ID="ImageMaXe" CssClass="ImageMaXeStyleLHVC" ImageUrl="Images/dltn/ToaNha.png"
                            runat="server" />
                    </div>
                    <div style="text-align: center; background: red; width: 97%; height: 25px; padding-top: 10px">
                        <asp:Label ID="lblCode" runat="server" Text="Mã Xe" CssClass="lblStyleLHVC" Width="20%"
                            Font-Bold="True" ForeColor="White" Height="16px"></asp:Label>
                    </div>
                </div>
                <div>
                    <asp:Label ID="lblName" runat="server" Text="Họ Tên" CssClass="lblStyleLHVC" Width="20%"></asp:Label>
                    <asp:TextBox ID="txtName" CssClass="TextboxStyleLHVC" runat="server" Width="70%"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RqtxtName" runat="server" SetFocusOnError="True"
                        ControlToValidate="txtName" Display="Dynamic" ErrorMessage=" (*) Họ tên không được rỗng"></asp:RequiredFieldValidator>
                </div>
                <div>
                    <asp:Label ID="lblBirthDay" runat="server" Text="Ngày Sinh" CssClass="lblStyleLHVC"
                        Width="20%"></asp:Label>
                    <asp:TextBox ID="txtBirthDay" CssClass="TextboxStyleLHVC" runat="server" Width="70%"></asp:TextBox>
                    <cc2:CalendarExtender ID="CalendarExtender2" TargetControlID="txtBirthDay" Format="dd/MM/yyyy"
                        PopupButtonID="ImageButton1" runat="server">
                    </cc2:CalendarExtender>
                </div>
                <div>
                    <asp:Label ID="lblAddress" runat="server" Text="Địa chỉ" CssClass="lblStyleLHVC"
                        Width="20%"></asp:Label>
                    <asp:TextBox ID="txtAddress" CssClass="TextboxStyleLHVC" runat="server" Width="70%"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RqtxtAddress" runat="server" SetFocusOnError="True"
                        ControlToValidate="txtAddress" Display="Dynamic" ErrorMessage=" (*) Địa chỉ không được rỗng"></asp:RequiredFieldValidator>
                </div>
                <div>
                    <asp:Label ID="lblTel" runat="server" Text="Điện thoại" CssClass="lblStyleLHVC" Width="20%"></asp:Label>
                    <asp:TextBox ID="txtTel" CssClass="TextboxStyleLHVC" runat="server" Width="70%"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RetxtTel" runat="server" ErrorMessage="Số điện thoại chỉ chấp nhận kiểu số"
                        Display="Dynamic" ValidationExpression="\d+" ControlToValidate="txtTel"></asp:RegularExpressionValidator>
                </div>
                <div>
                    <asp:Label ID="lblEmail" runat="server" Text="Email" CssClass="lblStyleLHVC" Width="20%"></asp:Label>
                    <asp:TextBox ID="txtEmail" CssClass="TextboxStyleLHVC" runat="server" Width="70%"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="regEmail" ControlToValidate="txtEmail" Text="Email không đúng định dạng"
                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" runat="server" />
                </div>
                <div>
                    <asp:Label ID="lblQuantity" runat="server" Text="Số lượng" CssClass="lblStyleLHVC"
                        Width="20%"></asp:Label>
                    <asp:TextBox ID="txtQuantity" CssClass="TextboxStyleLHVC" runat="server" Width="70%"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RetxtQuantity" runat="server" ErrorMessage="Số lượng chỉ chấp nhận kiểu số"
                        Display="Dynamic" ValidationExpression="\d+" ControlToValidate="txtQuantity"></asp:RegularExpressionValidator>
                    <asp:RequiredFieldValidator ID="RqtxtQuantity" runat="server" SetFocusOnError="True"
                        ControlToValidate="txtQuantity" Display="Dynamic" ErrorMessage=" (*) Số lượng không được rỗng"></asp:RequiredFieldValidator>
                </div>
                <div>
                    <asp:Label ID="lblContent" runat="server" Text="Nội dung" CssClass="lblStyleLHVC"
                        Width="20%"></asp:Label>
                </div>
                <div>
                    <asp:TextBox ID="txtContent" CssClass="TextboxNoiDungLHVC" runat="server" Width="70%"
                        TextMode="MultiLine" Height="70"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RqtxtContent" runat="server" SetFocusOnError="True"
                        ControlToValidate="txtContent" Display="Dynamic" ErrorMessage=" (*) Nội dung không được rỗng"></asp:RequiredFieldValidator>
                </div>
                <div>
                    <br />
                    <cc1:CaptchaControl ID="CaptchaControl" runat="server" CaptchaBackgroundNoise="None"
                        CaptchaLength="5" CaptchaHeight="40" CaptchaWidth="295" CaptchaLineNoise="None"
                        CaptchaMinTimeout="5" CssClass="lblStyleLHVC"/>
                    <br />
                    <asp:Label ID="lblCapCha" runat="server" Text="Mã bảo mật" CssClass="lblStyleLHVC"
                        Width="20%"></asp:Label>
                    <asp:TextBox ID="txtCapCha" CssClass="TextboxStyleLHVC" runat="server" Width="70%"></asp:TextBox>
                </div>
                <div>
                    <asp:Button ID="btnRegister" runat="server" Text="Đăng ký" CssClass="btnDangKyStyle"
                        OnClick="btnRegister_Click" />
                </div>
            </div>
            <!-- End LeftLHVC -->
            <div>
                <asp:Image CssClass="ImageStyleLHVC" ImageUrl="Images/dltn/ToaNha.png" runat="server" />
            </div>
            <div style="clear: both">
            </div>
            
        </div>
        <!-- End wrapperLHVC -->
        </ContentTemplate>
        </asp:UpdatePanel>
    </div>
    <div id="Right">
        <dx:HoTroTrucTuyenRight ID="HoTroTrucTuyenRight" runat="server" />
        <dx:QuangCaoRight ID="QuangCaoRight" runat="server" />
    </div>
    <div style="clear:both"></div>
</div>
</asp:Content>
